-
Home
-
UpsellWP – WooCommerce Upsell and Related Products Offers
-
1.2.0
-
Code
-
Classes
- WP
Total Complexity |
46 |
Dependencies |
0 |
Dependents |
12 |
Total lines |
245 |
Lines of code |
98 |
Logical lines of code |
48 |
Comment lines |
117 |
Methods |
19 |
Properties |
0 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getUserName() |
S |
62 |
6 |
11 |
getRole() |
S |
70 |
4 |
6 |
getFormat() |
S |
63 |
4 |
10 |
formatDate() |
S |
64 |
4 |
9 |
isAjax() |
S |
77 |
3 |
3 |
isRtl() |
S |
79 |
2 |
3 |
isAdmin() |
S |
79 |
2 |
3 |
getCurrentPageUrl() |
S |
73 |
2 |
4 |
getCurrentUserId() |
S |
78 |
2 |
3 |
getCurrentUser() |
S |
78 |
2 |
3 |
isXhr() |
S |
76 |
2 |
3 |
createNonce() |
S |
71 |
2 |
6 |
getUserRoles() |
S |
69 |
2 |
7 |
getTitle() |
S |
78 |
2 |
3 |
getId() |
S |
78 |
2 |
3 |
verifyNonce() |
S |
70 |
2 |
6 |
getUser() |
S |
79 |
1 |
3 |
getImage() |
S |
78 |
1 |
3 |
adminNotice() |
S |
67 |
1 |
9 |